package com.snopy.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author snopy
 * @version 1.0.0
 * @classname CartApplication
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/10 9:23
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.snopy","org.n3r.idworker"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.snopy.cart.service"})
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class,args);
    }
}
